/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package employeedetails;

import java.io.Serializable;

/**
 *
 * @author TQNINH
 */
public class Employee implements Serializable{

    private String name;
    private int experience;
    private double salary;
    
    public Employee() {
        
    }
    
    public Employee(String name, int exp, double sal) {
        this.name = name;
        this.experience = exp;
        this.salary = sal;
    }
    
    public String toString(){
        return "Name = " + name + " Experience: " + experience +
                " Income: " + salary;
    }
}
